CROSS_COMPLE:=mipsel-linux-
ARCH:=mipsel
CC:=$(CROSS_COMPILE)gcc
LD:=$(CROSS_COMPILE)ld

#obj-m:=gpio-sfp.o
obj-m:=gpio-8337.o gpio-8033.o gpio-sfp.o
KDIR:=/mnt/EN7561-1/7561/linux-3.18.21
PWD:=$(shell pwd)

default:
	$(MAKE) -C $(KDIR) M=$(PWD) modules

clean:
	rm -rf .*.cmd *.o *.mod.c *.ko .tmp_versions *.order *symvers *Module.markers




